<template>
  <el-form :inline="true" :model="formInline" class="demo-form-inline">
    <!-- <el-form-item label="单据类型">
      <el-select v-model="formInline.lngflowreceiptid" clearable placeholder="请选择" style="width:100px">
        <el-option v-for="item in receiptTypeList" :key="item.lngflowreceiptid" :label="item.strreceiptname" :value="item.lngflowreceiptid" />
      </el-select>
    </el-form-item> -->
    <el-form-item label="流程名称">
      <el-input v-model="formInline.name" placeholder="请输入" />
    </el-form-item>
    <!-- <el-form-item label="key">
      <el-input v-model="formInline.key" placeholder="请输入" />
    </el-form-item> -->
    <!-- <el-form-item label="状态">
      <el-select v-model="formInline.blnisinactive" placeholder="请选择" style="width:90px">
        <el-option label="全部" value="" />
        <el-option label="启用" :value="0" />
        <el-option label="停用" :value="1" />
      </el-select>
    </el-form-item> -->
    <el-form-item>
      <el-button type="primary" icon="el-icon-search" @click="onSubmit">查询</el-button>
    </el-form-item>
  </el-form>
</template>
<script>
export default {
  name: 'FilterTool',
  data() {
    return {
      formInline: {
        name: '',
        key: ''
      }
    }
  },
  created() {
  },
  methods: {
    onSubmit() {
      this.$emit('search', this.formInline)
    }

  }
}
</script>

